package com.personal.portal.admin.service;

import com.personal.portal.common.entity.Result;
import com.personal.portal.admin.entity.SkillCategory;

import java.util.List;

public interface SkillCategoryService {
    SkillCategory queryById(Long id);

    SkillCategory queryByEntity(SkillCategory skillCategory);

    List<SkillCategory> queryList(SkillCategory skillCategory);

    Result.PageResult<SkillCategory> queryPage(int pageNum, int pageSize, SkillCategory skillCategory);

    int insert(SkillCategory skillCategory);

    int update(SkillCategory skillCategory);

    int deleteById(Long id);

    List<Long> deleteBatch(List<Long> ids);
}